<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>
MvvmCommandAutobinding class
</TITLE>

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../resources/stylesheet.css" TITLE="Style">
</HEAD>

<BODY BGCOLOR="white">


<!-- ========= START OF TOP NAVBAR ======= -->

<table border="0" width="100%">
<tr>
<td width="50%">
<p align="left">
<a href="http://mvvmbasics.mobilemotion.eu/" target="_blank" title="MVVMbasics Homepage"><img src="../../resources/logo_mvvmbasics.png" alt="MVVMbasics Logo" border="0"></a>
</p>
</td>
<td width="50%">
<p align="right">
<a href="http://www.mobilemotion.eu/" target="_blank" title="mobilemotion.eu Homepage"><img src="../../resources/logo_mobilemotion.png" alt="mobilemotion.eu Logo" border="0"></a>
</p>
</td>
</tr>
</table>

<HR>

<p><a href="../../index.htm" title="MVVMbasics Class Reference Homepage">Back to Class Reference home page</a></p>

<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">MVVMbasics.Attributes</FONT>
<BR>
Class MvvmCommandAutobinding
</H2>

<CODE>
<A HREF="http://msdn.microsoft.com/en-us/library/system.attribute%28v=vs.110%29.aspx" target="_blank" title="System.Attribute">System.Attribute</A>
<br>
&nbsp;&nbsp;<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>MVVMbasics.Attributes.MvvmCommandAutobinding</B>
<br>&nbsp;
</CODE>
<HR>
<CODE>
&nbsp;<br>
AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
<br>public class <B>MvvmCommandAutobinding</B> : <A HREF="http://msdn.microsoft.com/en-us/library/system.attribute%28v=vs.110%29.aspx" target="_blank" title="System.Attribute">Attribute</A>
</CODE>

<P>
Attribute to be applied to Viewmodel classes. Defines whether CommandAutobinding (the automatic binding of 
<a href="../Commands/BaseCommand.htm" title="MVVMbasics.Commands.BaseCommand">BaseCommands</a> to matching methods in the Viewmodel) is 
activated or not.
</P>

<hr>

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>public&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#MvvmCommandAutobinding()">MvvmCommandAutobinding</a></B>()</CODE>
<BR>
<span class="Indented">Constructs a <code>MvvmCommandAutobinding</code> attribute that activates automatic binding of commands to methods in the Viewmodel it is assgined to.</span>
</TD>
</TR>

<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>public&nbsp;</CODE></FONT></TD>
<TD>
<CODE><B><a href="#MvvmCommandAutobinding(bool)">MvvmCommandAutobinding</a></B>(bool autobinding)</CODE>
<BR>
<span class="Indented">Constructs a <code>MvvmCommandAutobinding</code> attribute that activates or deactivates automatic binding of commands to methods in the Viewmodel it is assgined to.</span>
</TD>
</TR>
</TABLE>
&nbsp;

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="MvvmCommandAutobinding()"><!-- --></A><H3>
MvvmCommandAutobinding</H3>
<CODE>public <B>MvvmCommandAutobinding</B>()</CODE>
<p class="Indented">Constructs a <code>MvvmCommandAutobinding</code> attribute that activates automatic binding of commands to methods in the Viewmodel it is assgined to.</p>
<HR>

<A NAME="MvvmCommandAutobinding(bool)"><!-- --></A><H3>
MvvmCommandAutobinding</H3>
<CODE>public <B>MvvmCommandAutobinding</B>(bool autobinding)</CODE>
<p class="Indented">Constructs a <code>MvvmCommandAutobinding</code> attribute that activates or deactivates automatic binding of commands to methods in the Viewmodel it is assgined to.</p>

<div class="Indented">
<B>Parameters:</B>
<p class="Indented">
<CODE>autobinding</CODE> - Flag indicating whether automatic binding of commands to methods shall be activated for the Viewmodel the Attribute is assigned to.<br>
</p>
</div>

<!-- ========= END OF CLASS DATA ========= -->
<HR>

</body>
</HTML>